package com.yt.generator.engine.config;

import lombok.Data;

/**
 * 全局配置
 *
 * @author fengshuonan
 * @date 2017-05-08 20:21
 */
@Data
public class ContextConfig {
    private String templatePrefixPath = "/templet";
    private String projectBasePath = "";//模板输出的项目目录
    private String projectName = "exam";
    private String bizChName;   //业务名称
    private String bizEnName;   //业务英文名称
    private String moduleName = "exam";  //模块名称
    private String author = "mxli";

    private String pomGroupId = "com.yt";
    private String projectBasePackageName = "com.yt.sys";
    private String entityName;              //实体的名称

    private Boolean controllerSwitch = true;    //是否生成控制器代码开关
    private Boolean serviceSwitch = true;       //service
    private Boolean mapperSwitch = true;        //生成mapper的开关
    private Boolean modelsSwitch = true;        //生成DTO实体的开关
    private Boolean sqlSwitch = true;           //生成sql的开关
}
